home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 3
/
Cream of the Crop 3.iso
/
clipper
/
ks94an.zip
/
ITOH.HDR
< prev
next >
Wrap
Text File
|
1994-04-25
|
927b
|
37 lines
/******************************************************************************
The Klipper Library, for CA-Clipper 5.x
Copyright (c), 1994, Wallace Information Systems Engineering
FUNCTION:
_IToH( nInteger ) --> cHexString
PARAMETERS:
nInteger: numeric integer value in base 10.
SHORT:
Convert base 10 integer to base 16 hex string.
DESCRIPTION:
_IToH() converts a numeric decimal value to it's equivalent hexadecimal
string representation.
NOTE:
Maximum (known) Integer to Hexadecimal conversion is: 7,686,143,364,045,647.
(That way you can work financial problems involving the U.S. Federal
Budget in Hexadecimal!!! That's how they do it, I'm sure.)
Beyond that number I am unable to verify accuracy.
EXAMPLE:
? _IToH(15) // returns "F"
? _IToH(255) // returns "FF"
******************************************************************************/